package com.yxw.yx_hotel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxw.yx_hotel.entity.YxStayInEntity;
import com.yxw.yx_hotel.entity.YxStayWaitEntity;
import com.yxw.yx_hotel.vo.UserTokenVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 在住管理
 */
@Repository
public interface StayInMapper extends BaseMapper<YxStayInEntity> {

    /**
     * 批量新增在住信息
     * @param waitEntityList
     */
    void insertByBatch(@Param("list") List<YxStayWaitEntity> waitEntityList, @Param("user") UserTokenVo userVo);
}
